﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <ClientWebPart Name="QBRatingAppPart" Title="QB Rating Calculator" DefaultWidth="300" DefaultHeight="220"
                 Description="This app calculates a quarterback's NFL and NCAA passing efficiency ratings.">

    <!-- Content element identifies the location of the page that will render inside the client web part
         Properties are referenced on the query string using the pattern _propertyName_
         Example: Src="~appWebUrl/Pages/ClientWebPart1.aspx?Property1=_property1_" -->
    <Content Type="html" Src="~appWebUrl/Pages/QBRatingAppPart.aspx?{StandardTokens}&amp;statsServiceUrl=_statsServiceUrl_" />

    <Properties>
      <Property Name="statsServiceUrl" Type="string" RequiresDesignerPermission="true" WebBrowsable="true"
           DefaultValue="http://stats.informatix.com" WebCategory="App Settings"
           WebDisplayName="Stats Service Url" WebDescription="Url of a stats service that provides QB metrics.">
      </Property>      
    </Properties>

  </ClientWebPart>
</Elements>
